From: Jasper St. Pierre Date: Wed, 20 Feb 2013 02:06:33 +0000 (-0500) Subject: layout: Don't bother updating the regions in the greeter X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4697 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=de3d3c15a5e03cc71292ee917b15736e07c1287b;p=gnome-shell.git layout: Don't bother updating the regions in the greeter The greeter is always full-screen, so this should never matter. https://bugzilla.gnome.org/show_bug.cgi?id=694227 --- diff --git a/js/ui/layout.js b/js/ui/layout.js index f3cf728f1..f99085311 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -829,6 +829,9 @@ const LayoutManager = new Lang.Class({ }, _queueUpdateRegions: function() { + if (Main.sessionMode.isGreeter) + return; + if (!this._updateRegionIdle && !this._freezeUpdateCount) this._updateRegionIdle = Mainloop.idle_add(Lang.bind(this, this._updateRegions), Meta.PRIORITY_BEFORE_REDRAW);